package org.ala.shopping_test.shopping_center.repository.order_seller.entity;

import java.io.Serializable;
import java.util.List;
import java.util.ArrayList;


/**
 *	EntityFields (shopping_order_seller)
 *  订单总表
 *
 *	@author 骆毅 (ala)
 *	@date 2025-03-24 15:41:30
 */
public class ShoppingOrderSellerFields implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     *  订单id
     */
    public static String Id = "id";
    /**
     *  订单总id
     */
    public static String OrderId = "order_id";
    /**
     *  买家订单id
     */
    public static String BuyerOrderId = "buyer_order_id";
    /**
     *  订单编码 [YYYYMMdd-Type]
     */
    public static String Code = "code";
    /**
     *  买家id
     */
    public static String BuyerId = "buyer_id";
    /**
     *  买家名称
     */
    public static String BuyerName = "buyer_name";
    /**
     *  卖家名称
     */
    public static String SellerName = "seller_name";
    /**
     *  卖家id
     */
    public static String SellerId = "seller_id";
    /**
     *  订单总金额（含优惠）
     */
    public static String OrderAmount = "order_amount";
    /**
     *  订单总税额
     */
    public static String OrderTax = "order_tax";
    /**
     *  订单总优惠金额
     */
    public static String OrderDiscountAmount = "order_discount_amount";
    /**
     *  订单总利润金额
     */
    public static String OrderProfit = "order_profit";
    /**
     *  订单金额明细
     */
    public static String OrderAmountDetail = "order_amount_detail";
    /**
     *  订单状态 0：待审核 1：已审核打单配货 2：已配货待发货 3：已发货 4：已到货 5：完成
     */
    public static String Status = "status";
    /**
     *  是否异常 0：否 1：是
     */
    public static String Abnormal = "abnormal";
    /**
     *  订单备注
     */
    public static String Remark = "remark";
    /**
     *  记录创建时间
     */
    public static String CreateTime = "create_time";
    /**
     *  记录最后修改时间
     */
    public static String ModifyTime = "modify_time";


    /**
     *  本次查询涉及的字段名
     */
    protected List<String> fields;
    public List<String> getFields() {
        return fields;
    }
    public void setFields(List<String> fields) {
        this.fields = fields;
    }
    /**
     *  全部字段
     */
    public static ShoppingOrderSellerFields All() {
        ShoppingOrderSellerFields f = new ShoppingOrderSellerFields();
        List<String> fields = new ArrayList<>();
            fields.add(ShoppingOrderSellerFields.Id);
            fields.add(ShoppingOrderSellerFields.OrderId);
            fields.add(ShoppingOrderSellerFields.BuyerOrderId);
            fields.add(ShoppingOrderSellerFields.Code);
            fields.add(ShoppingOrderSellerFields.BuyerId);
            fields.add(ShoppingOrderSellerFields.BuyerName);
            fields.add(ShoppingOrderSellerFields.SellerName);
            fields.add(ShoppingOrderSellerFields.SellerId);
            fields.add(ShoppingOrderSellerFields.OrderAmount);
            fields.add(ShoppingOrderSellerFields.OrderTax);
            fields.add(ShoppingOrderSellerFields.OrderDiscountAmount);
            fields.add(ShoppingOrderSellerFields.OrderProfit);
            fields.add(ShoppingOrderSellerFields.OrderAmountDetail);
            fields.add(ShoppingOrderSellerFields.Status);
            fields.add(ShoppingOrderSellerFields.Abnormal);
            fields.add(ShoppingOrderSellerFields.Remark);
            fields.add(ShoppingOrderSellerFields.CreateTime);
            fields.add(ShoppingOrderSellerFields.ModifyTime);
        f.fields = fields;
        return f;
    }
    /**
     *  追加 id
     */
    public static ShoppingOrderSellerFields Id() {
        return new ShoppingOrderSellerFields().id();
    }
    public ShoppingOrderSellerFields id() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.Id);
        return this;
    }
    /**
     *  追加 order_id
     */
    public static ShoppingOrderSellerFields OrderId() {
        return new ShoppingOrderSellerFields().orderId();
    }
    public ShoppingOrderSellerFields orderId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.OrderId);
        return this;
    }
    /**
     *  追加 buyer_order_id
     */
    public static ShoppingOrderSellerFields BuyerOrderId() {
        return new ShoppingOrderSellerFields().buyerOrderId();
    }
    public ShoppingOrderSellerFields buyerOrderId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.BuyerOrderId);
        return this;
    }
    /**
     *  追加 code
     */
    public static ShoppingOrderSellerFields Code() {
        return new ShoppingOrderSellerFields().code();
    }
    public ShoppingOrderSellerFields code() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.Code);
        return this;
    }
    /**
     *  追加 buyer_id
     */
    public static ShoppingOrderSellerFields BuyerId() {
        return new ShoppingOrderSellerFields().buyerId();
    }
    public ShoppingOrderSellerFields buyerId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.BuyerId);
        return this;
    }
    /**
     *  追加 buyer_name
     */
    public static ShoppingOrderSellerFields BuyerName() {
        return new ShoppingOrderSellerFields().buyerName();
    }
    public ShoppingOrderSellerFields buyerName() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.BuyerName);
        return this;
    }
    /**
     *  追加 seller_name
     */
    public static ShoppingOrderSellerFields SellerName() {
        return new ShoppingOrderSellerFields().sellerName();
    }
    public ShoppingOrderSellerFields sellerName() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.SellerName);
        return this;
    }
    /**
     *  追加 seller_id
     */
    public static ShoppingOrderSellerFields SellerId() {
        return new ShoppingOrderSellerFields().sellerId();
    }
    public ShoppingOrderSellerFields sellerId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.SellerId);
        return this;
    }
    /**
     *  追加 order_amount
     */
    public static ShoppingOrderSellerFields OrderAmount() {
        return new ShoppingOrderSellerFields().orderAmount();
    }
    public ShoppingOrderSellerFields orderAmount() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.OrderAmount);
        return this;
    }
    /**
     *  追加 order_tax
     */
    public static ShoppingOrderSellerFields OrderTax() {
        return new ShoppingOrderSellerFields().orderTax();
    }
    public ShoppingOrderSellerFields orderTax() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.OrderTax);
        return this;
    }
    /**
     *  追加 order_discount_amount
     */
    public static ShoppingOrderSellerFields OrderDiscountAmount() {
        return new ShoppingOrderSellerFields().orderDiscountAmount();
    }
    public ShoppingOrderSellerFields orderDiscountAmount() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.OrderDiscountAmount);
        return this;
    }
    /**
     *  追加 order_profit
     */
    public static ShoppingOrderSellerFields OrderProfit() {
        return new ShoppingOrderSellerFields().orderProfit();
    }
    public ShoppingOrderSellerFields orderProfit() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.OrderProfit);
        return this;
    }
    /**
     *  追加 order_amount_detail
     */
    public static ShoppingOrderSellerFields OrderAmountDetail() {
        return new ShoppingOrderSellerFields().orderAmountDetail();
    }
    public ShoppingOrderSellerFields orderAmountDetail() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.OrderAmountDetail);
        return this;
    }
    /**
     *  追加 status
     */
    public static ShoppingOrderSellerFields Status() {
        return new ShoppingOrderSellerFields().status();
    }
    public ShoppingOrderSellerFields status() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.Status);
        return this;
    }
    /**
     *  追加 abnormal
     */
    public static ShoppingOrderSellerFields Abnormal() {
        return new ShoppingOrderSellerFields().abnormal();
    }
    public ShoppingOrderSellerFields abnormal() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.Abnormal);
        return this;
    }
    /**
     *  追加 remark
     */
    public static ShoppingOrderSellerFields Remark() {
        return new ShoppingOrderSellerFields().remark();
    }
    public ShoppingOrderSellerFields remark() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.Remark);
        return this;
    }
    /**
     *  追加 create_time
     */
    public static ShoppingOrderSellerFields CreateTime() {
        return new ShoppingOrderSellerFields().createTime();
    }
    public ShoppingOrderSellerFields createTime() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.CreateTime);
        return this;
    }
    /**
     *  追加 modify_time
     */
    public static ShoppingOrderSellerFields ModifyTime() {
        return new ShoppingOrderSellerFields().modifyTime();
    }
    public ShoppingOrderSellerFields modifyTime() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrderSellerFields.ModifyTime);
        return this;
    }
}